public class MiniDuckSimulator {

	public static void main(String[] args) {
		Duck mallard = new MallardDuck();
		mallard.performFly();
		mallard.performQuack();

		System.out.println("ModelDuck:");
		Duck model = new ModelDuck();
		model.performFly();
		model.performQuack();

		System.out.println("New fly:");
		model.setFlyBehavior(new FlyRocketPower());
		model.performFly();
		model.performQuack();
	}
}
